package com.mbc.rmt.entities;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;

@SuppressWarnings("serial")
public class CashPayment implements Serializable{

	private Long slipID;
	private String slipno;
	private Date trdate;
	private Date modifiedDate;
	private Long modifiedBy;
	private Date createdDate;
	private Long createdBy;
	private Long agentID;
	private String agentcode;
	private Long frombranchID;
	private String frombranchcode;
	private Long defaultbranchID;
	private Double paymentamt;
	private Long bankID;
	private String bankcode;
	private int trtype;
	private char trcode1;
	private char trcode2;
	private String remark;
	private Long slipdetailID;
	private String slipdetailNo;
	private String invoiceNo;
	private String receiptNo;
	private String sender;
	private String receiver;
	private String address;
	private Long CurrencyID;
	private String currencycode;
	private Double rate;
	private Double amount;
	private Double applyamt;
	private Boolean chkprint;
	
	private ArrayList<CashPaymentDetails> infodetaillist;
	
	private void clearProperties()
	{
		slipID = null;
		slipno = "";
		trdate = new Date();
		modifiedDate = new Date();
		modifiedBy = null;
		createdDate = new Date();
		createdBy = null;
		agentID = null;
		frombranchcode = "";
		agentcode = "";
		frombranchID = null;
		defaultbranchID = null;
		paymentamt = null;
		bankID = null;
		bankcode = "";
		trtype = 0;	
		trcode1 = 0;
		trcode2 = 0;
		remark = null;
	
		slipdetailID = null;
		slipID = null;
		slipdetailNo = "";
		invoiceNo = "";
		receiptNo = "";
		sender = "";
		receiver = "";
		address = "";
		CurrencyID = null;
		currencycode = "";
		rate = null;
		amount = null;
		applyamt = null;
		infodetaillist = null;
		chkprint = false;
	}		
	public Boolean getChkprint() {
		return chkprint;
	}


	public void setChkprint(Boolean chkprint) {
		this.chkprint = chkprint;
	}


	public char getTrcode1() {
		return trcode1;
	}

	public void setTrcode1(char trcode1) {
		this.trcode1 = trcode1;
	}

	public char getTrcode2() {
		return trcode2;
	}


	public void setTrcode2(char trcode2) {
		this.trcode2 = trcode2;
	}


	public String getFrombranchcode() {
		return frombranchcode;
	}

	public void setFrombranchcode(String frombranchcode) {
		this.frombranchcode = frombranchcode;
	}

	public CashPayment()
	{
		clearProperties();
	}

	public Long getSlipID() {
		return slipID;
	}

	public void setSlipID(Long slipID) {
		this.slipID = slipID;
	}

	public String getSlipno() {
		return slipno;
	}

	public void setSlipno(String slipno) {
		this.slipno = slipno;
	}

	public Date getTrdate() {
		return trdate;
	}

	public void setTrdate(Date trdate) {
		this.trdate = trdate;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public Long getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(Long modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public Long getAgentID() {
		return agentID;
	}

	public void setAgentID(Long agentID) {
		this.agentID = agentID;
	}

	public String getAgentcode() {
		return agentcode;
	}

	public void setAgentcode(String agentcode) {
		this.agentcode = agentcode;
	}

	public Long getFrombranchID() {
		return frombranchID;
	}

	public void setFrombranchID(Long frombranchID) {
		this.frombranchID = frombranchID;
	}

	public Long getDefaultbranchID() {
		return defaultbranchID;
	}

	public void setDefaultbranchID(Long defaultbranchID) {
		this.defaultbranchID = defaultbranchID;
	}

	public Double getPaymentamt() {
		return paymentamt;
	}

	public void setPaymentamt(Double paymentamt) {
		this.paymentamt = paymentamt;
	}

	public Long getBankID() {
		return bankID;
	}

	public void setBankID(Long bankID) {
		this.bankID = bankID;
	}

	public String getBankcode() {
		return bankcode;
	}

	public void setBankcode(String bankcode) {
		this.bankcode = bankcode;
	}

	public int getTrtype() {
		return trtype;
	}

	public void setTrtype(int trtype) {
		this.trtype = trtype;
	}

	public Long getSlipdetailID() {
		return slipdetailID;
	}

	public void setSlipdetailID(Long slipdetailID) {
		this.slipdetailID = slipdetailID;
	}

	public String getSlipdetailNo() {
		return slipdetailNo;
	}

	public void setSlipdetailNo(String slipdetailNo) {
		this.slipdetailNo = slipdetailNo;
	}

	public String getReceiptNo() {
		return receiptNo;
	}

	public void setReceiptNo(String receiptNo) {
		this.receiptNo = receiptNo;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Long getCurrencyID() {
		return CurrencyID;
	}

	public void setCurrencyID(Long currencyID) {
		CurrencyID = currencyID;
	}

	public Double getRate() {
		return rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getApplyamt() {
		return applyamt;
	}

	public void setApplyamt(Double applyamt) {
		this.applyamt = applyamt;
	}

	public String getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	public String getCurrencycode() {
		return currencycode;
	}

	public void setCurrencycode(String currencycode) {
		this.currencycode = currencycode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public ArrayList<CashPaymentDetails> getInfodetaillist() {
		return infodetaillist;
	}


	public void setInfodetaillist(ArrayList<CashPaymentDetails> infodetaillist) {
		this.infodetaillist = infodetaillist;
	}
}
